#!/bin/bash

echo fishGetCaps start `date`
if [ ! -f /tmp/lock_fishGetCaps ]; then
  touch /tmp/lock_fishGetCaps

  wget 'http://64.72.74.123/geoserver/maracoos/wms?service=WMS&version=1.1.0&request=GetCapabilities' -O xml/fishByCatch.getcaps.xml

  rm -f /tmp/lock_fishGetCaps
fi
echo fishGetCaps end `date`
